package com.anita.member.domain.event.member;

import com.anita.member.domain.event.DomainEvent;
import com.anita.member.domain.model.member.MemberId;
import lombok.Getter;

import java.time.LocalDateTime;

@Getter
public class MemberPasswordChangedEvent extends DomainEvent {
    private final MemberId id;
    private final LocalDateTime changedAt;

    public MemberPasswordChangedEvent(MemberId id) {
        this.id = id;
        this.changedAt = LocalDateTime.now();
    }
} 